package com.zx.controller;/**
 * Author:JasonZ
 * Data:2023/4/14
 */

import com.alibaba.fastjson.JSON;
import com.zx.context.AccessContext;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: ecommerce-parent
 *
 * @description:
 *
 * @author: JasonZ
 *
 * @create: 2023-04-14 08:56
 **/
@RestController
@RequestMapping("/account")
public class AccountController {

    @GetMapping
    public String test01(){
        return "8080"+ JSON.toJSONString(AccessContext.getUserInfo());
    }
}
